package org.neuedu.chapter09_0629.demo03;

public class Demo01 {
    public static void main(String[] args) {
        int num1 = 100;
        double num2 = 9.9;
        long num3 = 1000;
        char num4 = 'A';

        Integer num5 = 100;
        Double num6 = 9.9;
        Long num7 = 1000L;
        Character num8 = 'A';

        String str1 = "100";
        System.out.println(str1 + 100);
        // 用对应的包装类 转换数据
        Long num9 = Long.valueOf(str1);
        long num10 = Long.parseLong(str1);

        int i = Integer.parseInt("10");
        Integer integer = Integer.valueOf("10");
        System.out.println(num9 + 100);
    }
}
